package com.zg.nacos.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/26 15:16
 */

@Data
@ApiModel
public class RoleEditReq extends NacosReq {

    @ApiModelProperty(value = "角色名称", required = true)
    @NotEmpty(message="角色名称不能为空")
    private String role;
    @ApiModelProperty(value = "用户名称", required = true)
    @NotEmpty(message="用户名称不能为空")
    private String username;
}
